package com.xbongbong.paas.manager.feign;

import com.xbongbong.paas.toolbox.wrap.XbbResponse;
import com.xbongbong.pro.statistic.result.pojo.dto.ChartLinkDTO;
import com.xbongbong.pro.statistic.result.pojo.dto.DiyResultDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author Administrator
 */
@FeignClient(name = "pro-web-dataset",contextId = "chartLinkFeignClient")
public interface ChartLinkFeignClient {
    /**
     * 
     * @param chartLinkDTO
     * @return
     */
    @RequestMapping(value = "/pro/v1/dsValue/chartLinkResultresult", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_UTF8_VALUE, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
    XbbResponse<Object> chartLinkResult(@RequestBody ChartLinkDTO chartLinkDTO);
}
